/*
 *分页插件
 */
package com.uyayo.framework.pagehelper.pojo;

import java.io.Serializable;
import java.util.List;

/**
 * 整合页面分页插件
 * 
 * @author hufengjun
 * @param <T>
 */
public class PageResult<T> implements Serializable {

	private static final long serialVersionUID = 6975089268517363394L;


	// 总记录数
	private long total;

	// 记录
	private List<T> rows;

	public PageResult() {
	}


	public PageResult(long total, List<T> rows) {
		this.total = total;
		this.rows = rows;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}

}
